package com.wantong.jianpu.fragments;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.Nullable;

import com.wantong.jianpu.BR;
import com.wantong.jianpu.R;
import com.wantong.jianpu.base.BaseXFragment;
import com.wantong.jianpu.databinding.FragmentMineBinding;
import com.wantong.jianpu.databinding.FragmentTourdetailBinding;
import com.wantong.jianpu.viewmodels.MineViewModel;
import com.wantong.jianpu.viewmodels.TourDetailFViewModel;

import me.goldze.mvvmhabit.utils.AppUtil;

/**
 * @author PACY
 * @date 2022/4/1
 * description: 首页
 */
public class TourDetailFragment extends BaseXFragment<FragmentTourdetailBinding, TourDetailFViewModel> {
    public static TourDetailFragment newInstance(String title) {

        Bundle args = new Bundle();
        args.putString("title", title);
        TourDetailFragment fragment = new TourDetailFragment();
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_tourdetail;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initData() {
        super.initData();
    }

}
